package com.our.sys.project1.service;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springside.modules.orm.Page;
import org.springside.modules.orm.PropertyFilter;

import com.our.sys.project1.dao.StockInListDao;
import com.our.sys.project1.dao.StockListDetailDao;
import com.our.sys.project1.entity.StockInList;

/**
 * 入库
 * @author acer
 *
 */
@Service
@Transactional
public class StockInListService {
    
    private static Logger logger = LoggerFactory.getLogger(StockInListService.class);
    
    @Autowired
    private StockInListDao stockInListDao;
    @Autowired
    private StockListDetailDao stockListDetailDao;
    
    @Transactional(readOnly = true)
    public Page<StockInList> queryStockIn(Page<StockInList> page, List<PropertyFilter> filters) {
        Page<StockInList> curPage = stockInListDao.findPage(page, filters);
        return curPage;
    }
    
    

}
